From bf680053b07bd23889f4fae7b4ad726b44c859e7 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Sat, 23 Apr 2005 10:53:18 +0000 Subject: [PATCH] bitkeeper revision 1.1372 (426a291er6fDcjQLyYtGSP3XQORoWQ) grant_table.c: gcc4 tweak. --- xen/common/grant_table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c index b2cf201979..8cf46378c3 100644 --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -437,7 +437,7 @@ gnttab_map_grant_ref( gnttab_map_grant_ref_t *uop, unsigned int count) { int i, flush = 0; - unsigned long va; + unsigned long va = 0; for ( i = 0; i < count; i++ ) if ( __gnttab_map_grant_ref(&uop[i], &va) == 0 ) @@ -633,7 +633,7 @@ gnttab_unmap_grant_ref( gnttab_unmap_grant_ref_t *uop, unsigned int count) { int i, flush = 0; - unsigned long va; + unsigned long va = 0; for ( i = 0; i < count; i++ ) if ( __gnttab_unmap_grant_ref(&uop[i], &va) == 0 ) -- 2.30.2